﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nop.Core.Domain.Logistics
{
    /// <summary>
    /// Represents a package note
    /// </summary>
    public partial class PlanNote : BaseEntity
    {
        /// <summary>
        /// Gets or sets the plan identifier
        /// </summary>
        public virtual int PlanId { get; set; }

        /// <summary>
        /// Gets or sets the location identifier
        /// </summary>
        public virtual int? LocationId { get; set; }

        /// <summary>
        /// Gets or sets the note
        /// </summary>
        public virtual string Note { get; set; }

        /// <summary>
        /// Indicates if a valid action for courier commission
        /// </summary>
        public virtual bool ValidForCommission { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether a courier can see a note
        /// </summary>
        public virtual bool DisplayToCourier { get; set; }

        /// <summary>
        /// Gets or sets the date and time of plan note creation
        /// </summary>
        public virtual DateTime CreatedOnUtc { get; set; }

        /// <summary>
        /// Gets the plan
        /// </summary>
        public virtual LogisticsPlan Plan { get; set; }
    }
}
